import React from 'react';
import PanelItem from './PanelItem'
import readPng from '../../assets/images/read.png'
import editPng from '../../assets/images/edit.png'
import passPng from '../../assets/images/pass.png'

const data = [{
    icon: readPng,
    text: '资料查看',
    link: '/read'
}, {
    icon: editPng,
    text: '资料修改',
    link: '/edit'
}, {
    icon: passPng,
    text: '密码修改'
}]

const Message = () => {
    return (
        <PanelItem data={data} />
    );
}

export default Message;